package dao.jpa;

import java.util.List;

import vo.TopicSource;
import dao.TopicSourceDAO;

public class TopicSourceDAOJpaImpl extends GenericDaoJpaImpl<TopicSource, Long> implements TopicSourceDAO {

	public TopicSourceDAOJpaImpl() {
		super(TopicSource.class);
	}

	public List<TopicSource> findAll() {
		return super.executeFinder("TopicSource.findAll");       
	}

	public List<TopicSource> findByTopicId(long topicId) {
		return super.executeFinder("TopicSource.findByTopicId",topicId);       
	}
}
